package com.tigercar.servicemanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tigercar.servicemanagement.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    /**
     * 保存员工所属部门
     * @param id
     * @param cids
     */
    void saveEmployee(@Param("bid") Integer id, @Param(("cids")) List<String> cids);

    void updateEmployee(@Param("bid") Integer id, @Param(("cids")) List<String> cids);
}
